package com.jsu.clubmanagementsystem.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 审核
 * @TableName review
 */
@TableName(value ="review")
@Data
public class Review implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 审核人用户id
     */
    private Long userId;

    /**
     * 申请类型: 0~10
     */
    private Integer type;

    /**
     * 申请id
     */
    private Long applicationId;

    /**
     * 审核意见
     */
    private String content;

    /**
     * 创建时间(审核时间)
     */
    private Date createTime;

    /**
     * 审核结果: 0-待审核, 1-通过, 2-拒绝
     */
    private Integer result;

    /**
     * 是否删除
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}